import instance from "@/utils/request";

/**
 * 登录接口的调用
 */
export const loginCadreTableAPI = (params) => {
  return instance({
    method: "get",
    url: "/login/loginCadreTable",
    params,
  });
};

/**
 * 登录接口的调用
 */
export const loginPoorFamilyAPI = (params) => {
  return instance({
    method: "get",
    url: "/login/loginPoorFamily",
    params,
  });
};
export const loginAdmin= (params) => {
  return instance({
    method: "get",
    url: "/login/loginAdmin",
    params,
  });
};

/**
 * 修改密码接口调用
 */
export const changePWDCadreTableAPI = (data) => {
  return instance({
    method: "put",
    url: "/login/changePwd",
    data,
  });
};


